# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


from django.conf.urls.defaults import *

urlpatterns = patterns(
    '',
    (r'^$', 'views.listevent'),
    (r'^listclub$', 'views.listclub'),
    (r'^clubentries/(\d+)$', 'views.listclubentries'),
    (r'^new$', 'views.new'),
    (r'^newclub$', 'views.newclub'),
    (r'^about$', 'views.about'),
    (r'^help$', 'views.help'),
    (r'^edit/(\d+)$', 'views.edit'),
    (r'^editclub/(\d+)$', 'views.editclub'),
    (r'^showclubentry/(\d+)$', 'views.showclubentry'),
    (r'^delete/(\d+)$', 'views.delete'),
    (r'^deleteclub/(\d+)$', 'views.deleteclub'),
    (r'^deleteevent/(\d+)$', 'views.deleteevent'),
    (r'^clubentry/(\d+)$', 'views.clubentry'),
    (r'^entry/(\d+)$', 'views.entry'),
    (r'^entryx/(\d+)$', 'views.entryx'),
    (r'^entries/(\d+)$', 'views.listentries'),
    (r'^deleteallentry$', 'views.deleteallentry'),
    (r'^printall$', 'views.printall'),
    (r'^gchecky$', 'views.testgchecky'),
    (r'^subscriptiongchecky$', 'views.subscription_testgchecky'),
    (r'^gchecky/(\d+)$', 'views.gchecky'),
    (r'^newevent$', 'views.newevent'),
    (r'^editevent/(\d+)$', 'views.editevent'),
    (r'^listevent$', 'views.listevent'),
    (r'^evententry/(\d+)$', 'views.evententry'),
    (r'^showevententry/(\d+)$', 'views.showevententry'),
    (r'^checkoutevententry/(\d+)/(\d+)$', 'views.checkoutevententry'),
    (r'^checkoutevententry/(\d+)/(\S+)$', 'views.checkoutevententry'),
    (r'^checkoutevententryemail/(\d+)/(\S+)/(\S+)$', 'views.checkoutevententryemail'),
    (r'^checkoutevententrynone/(\d+)$', 'views.checkoutevententrynone'),
    (r'^evententries/(\d+)$', 'views.listevententries'),
    (r'^exportevententry/(\d+)$', 'views.exportevententry'),
    (r'^exportclubentry/(\d+)$', 'views.exportclubentry'),
    (r'^exportevententries/(\d+)$', 'views.exportevententries'),
    (r'^exportevententriesall/(\d+)$', 'views.exportevententriesall'),
    (r'^exportclubentries/(\d+)$', 'views.exportclubentries'),
    (r'^exportclubentriesall/(\d+)$', 'views.exportclubentriesall'),
    (r'^exportclubentriespaged/(\d+)$', 'views.exportclubentriespaged'),
    (r'^exportevententriespaged/(\d+)$', 'views.exportevententriespaged'),
    (r'^checkoutclubentry/(\d+)/(\d+)$', 'views.checkoutclubentry'),
    (r'^csv$', 'views.csv1'),
    (r'^csv2$', 'views.csv2'),
    (r'^TEXTexportevententriespaged/(\d+)$', 'views.TEXTexportevententriespaged'),
    (r'^REMINDERevententry/(\d+)$', 'views.REMINDERevententry'),
    (r'^simpleevententries/(\d+)$', 'views.SIMPLEexportevententriespaged'),
    (r'^amazonsettokens/(\d+)/(\S+)/(\S+)$', 'views.amazonsettokens'),

    )
    #(r'^gchecky/(\d+)/(\d+)$', 'views.gchecky'),
    #(r'^deleteall$', 'views.deleteall'),
    #(r'^$', 'views.index'),
